<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

	<rich:modalPanel id="attachedFilesDlg" minWidth="550" minHeight="420" zindex="10000">
		<f:facet name="header">
			<h:outputText value="#{messages['intro2.attacheddocs']}" />
		</f:facet>

		<f:facet name="controls">
			<h:panelGroup>
				<h:graphicImage id="hideAttachedFilesDlg" value="/img/close.png"
					styleClass="hidelink" />
				<rich:componentControl for="attachedFilesDlg"
					attachTo="hideAttachedFilesDlg" operation="hide" event="onclick" />
			</h:panelGroup>
		</f:facet>

		<h:form>
			<ui:include src="mainAttachedFiles.xhtml">
				<ui:param name="allowToAdd" value="#{true}" />
			</ui:include>
		</h:form>
		
		<ui:include src="/workflow/transaction/includes/attachFiles.xhtml" />
	</rich:modalPanel>
</ui:composition>
